import { Provider } from 'react-redux';
import React from 'react';
import store from './store';

const GlobalProvider = ({ children }) => {
  return <Provider store={store}>{children}</Provider>;
};

export function rootContainer(container) {
  return React.createElement(GlobalProvider, {}, container);
}
